package router

import (
	"docu-flow/handler"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {
	r := gin.Default()
	r.POST("/create", handler.Create)
	r.GET("/list", handler.List)
	r.GET("/data", handler.Data)
	return r
}
